package com.bw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.SysUser;
import com.bw.service.SysUserService;
import com.bw.mapper.SysUserMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86198
* @description 针对表【sys_user】的数据库操作Service实现
* @createDate 2023-12-27 09:37:14
*/
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser>
    implements SysUserService{
    @Autowired
    SysUserMapper sysUserMapper;

    @Override
    public SysUser lists(String username) {
        return sysUserMapper.lists(username);
    }

    @Override
    public List<String> getauthbyid(Integer id) {
        return sysUserMapper.getauthbyid(id);
    }

}




